﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FaqContentManageRightList.aspx.cs" Inherits="CRM.Web.FaqManage.FaqContentManageRightList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="<%= base.ResourcesPath + "Style/faq.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server">
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" Text="" >
        </asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
    <div id="divMainFAQ">
        <div class="listdiv">
            <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                <HeaderTemplate>
                    <table width="100%" class="gridview">
                        <tr class="header">
                            <th >
                                >> 标题<<
                            </th>
                            <th >
                                发布日期
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr class="row">
                        <td style="display: none">
                            <%# DataBinder.Eval(Container.DataItem,"SRCID") %>
                        </td>
                        <td class="btnspan" >
                            <a href='<%# String.Format(ModifyUrl, Eval("SRCID").ToString(), Eval("CATID").ToString()) %>'
                                target='frameFaqMain'>
                                <asp:Image ID="Image1" runat="server" ImageAlign="Bottom" ImageUrl="../Images/Top/chat.gif" />&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "SRCTITLE")%>&nbsp;&nbsp;阅读
                                <span style="color: Red;">
                                    <%#DataBinder.Eval(Container.DataItem, "SRCHITNUM") %></span> 次</a>
                        </td>
                        <td class="btnspan" >
                            <%# DataBinder.Eval(Container.DataItem, "CREATEDATE")%>
                        </td>
                        <td class="btnspan" style="display: none;">
                            <%# DataBinder.Eval(Container.DataItem, "ATTACHFILE")%>
                        </td>
                    </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <tr class="row2">
                        <td style="display: none">
                            <%# DataBinder.Eval(Container.DataItem,"SRCID") %>
                        </td>
                        <td class="btnspan" >
                            <a href='<%# String.Format(ModifyUrl, Eval("SRCID").ToString(), Eval("CATID").ToString()) %>'
                                target='frameFaqMain'>
                                <asp:Image ID="Image1" runat="server" ImageAlign="Bottom" ImageUrl="../Images/Top/chat.gif" />&nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "SRCTITLE")%>&nbsp;&nbsp;阅读
                                <span style="color: Red;">
                                    <%#DataBinder.Eval(Container.DataItem, "SRCHITNUM") %></span> 次</a>
                        </td>
                        <td class="btnspan" >
                            <%# DataBinder.Eval(Container.DataItem, "CREATEDATE")%>
                        </td>
                        <td class="btnspan" style="display: none;">
                            <%# DataBinder.Eval(Container.DataItem, "ATTACHFILE")%>
                        </td>
                    </tr>
                </AlternatingItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
            <div style="width: 100%">
                <div class="btndiv">
                    <span class="btnspan" style="float: left;">
                        <asp:Button ID="btnAdd" runat="server" Text="新添" CommandName="Add" CssClass="btn title_qd"
                            OnClick="btnAdd_Click" /></span>&nbsp; </span> <span class="btnspan" style="float: right;">
                                <asp:HyperLink ID="lnkUp" runat="server">上一页</asp:HyperLink>&nbsp;
                                <asp:HyperLink ID="lnkDown" runat="server">下一页</asp:HyperLink>&nbsp;
                                <asp:Label ID="lbl_info" runat="server" Text="第x页/共x页"></asp:Label><br />
                            </span>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
